package com.eshop.modules.shop.service.dto;

import java.util.Date;
import java.io.Serializable;

public class SystemStoreDto implements Serializable
{
    private Integer id;
    private String name;
    private String introduction;
    private String phone;
    private String address;
    private String detailedAddress;
    private String image;
    private String latitude;
    private String longitude;
    private String validTime;
    private String dayTime;
    private Date createTime;
    private Integer isShow;
    private Date validTimeEnd;
    private Date validTimeStart;
    private Date dayTimeStart;
    private Date dayTimeEnd;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getIntroduction() {
        return this.introduction;
    }
    
    public String getPhone() {
        return this.phone;
    }
    
    public String getAddress() {
        return this.address;
    }
    
    public String getDetailedAddress() {
        return this.detailedAddress;
    }
    
    public String getImage() {
        return this.image;
    }
    
    public String getLatitude() {
        return this.latitude;
    }
    
    public String getLongitude() {
        return this.longitude;
    }
    
    public String getValidTime() {
        return this.validTime;
    }
    
    public String getDayTime() {
        return this.dayTime;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public Integer getIsShow() {
        return this.isShow;
    }
    
    public Date getValidTimeEnd() {
        return this.validTimeEnd;
    }
    
    public Date getValidTimeStart() {
        return this.validTimeStart;
    }
    
    public Date getDayTimeStart() {
        return this.dayTimeStart;
    }
    
    public Date getDayTimeEnd() {
        return this.dayTimeEnd;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setIntroduction(final String introduction) {
        this.introduction = introduction;
    }
    
    public void setPhone(final String phone) {
        this.phone = phone;
    }
    
    public void setAddress(final String address) {
        this.address = address;
    }
    
    public void setDetailedAddress(final String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }
    
    public void setImage(final String image) {
        this.image = image;
    }
    
    public void setLatitude(final String latitude) {
        this.latitude = latitude;
    }
    
    public void setLongitude(final String longitude) {
        this.longitude = longitude;
    }
    
    public void setValidTime(final String validTime) {
        this.validTime = validTime;
    }
    
    public void setDayTime(final String dayTime) {
        this.dayTime = dayTime;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setIsShow(final Integer isShow) {
        this.isShow = isShow;
    }
    
    public void setValidTimeEnd(final Date validTimeEnd) {
        this.validTimeEnd = validTimeEnd;
    }
    
    public void setValidTimeStart(final Date validTimeStart) {
        this.validTimeStart = validTimeStart;
    }
    
    public void setDayTimeStart(final Date dayTimeStart) {
        this.dayTimeStart = dayTimeStart;
    }
    
    public void setDayTimeEnd(final Date dayTimeEnd) {
        this.dayTimeEnd = dayTimeEnd;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SystemStoreDto)) {
            return false;
        }
        final SystemStoreDto other = (SystemStoreDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$isShow = this.getIsShow();
        final Object other$isShow = other.getIsShow();
        Label_0102: {
            if (this$isShow == null) {
                if (other$isShow == null) {
                    break Label_0102;
                }
            }
            else if (this$isShow.equals(other$isShow)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0139: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0139;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$introduction = this.getIntroduction();
        final Object other$introduction = other.getIntroduction();
        Label_0176: {
            if (this$introduction == null) {
                if (other$introduction == null) {
                    break Label_0176;
                }
            }
            else if (this$introduction.equals(other$introduction)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$phone = this.getPhone();
        final Object other$phone = other.getPhone();
        Label_0213: {
            if (this$phone == null) {
                if (other$phone == null) {
                    break Label_0213;
                }
            }
            else if (this$phone.equals(other$phone)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$address = this.getAddress();
        final Object other$address = other.getAddress();
        Label_0250: {
            if (this$address == null) {
                if (other$address == null) {
                    break Label_0250;
                }
            }
            else if (this$address.equals(other$address)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$detailedAddress = this.getDetailedAddress();
        final Object other$detailedAddress = other.getDetailedAddress();
        Label_0287: {
            if (this$detailedAddress == null) {
                if (other$detailedAddress == null) {
                    break Label_0287;
                }
            }
            else if (this$detailedAddress.equals(other$detailedAddress)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$image = this.getImage();
        final Object other$image = other.getImage();
        Label_0324: {
            if (this$image == null) {
                if (other$image == null) {
                    break Label_0324;
                }
            }
            else if (this$image.equals(other$image)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$latitude = this.getLatitude();
        final Object other$latitude = other.getLatitude();
        Label_0361: {
            if (this$latitude == null) {
                if (other$latitude == null) {
                    break Label_0361;
                }
            }
            else if (this$latitude.equals(other$latitude)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$longitude = this.getLongitude();
        final Object other$longitude = other.getLongitude();
        Label_0398: {
            if (this$longitude == null) {
                if (other$longitude == null) {
                    break Label_0398;
                }
            }
            else if (this$longitude.equals(other$longitude)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$validTime = this.getValidTime();
        final Object other$validTime = other.getValidTime();
        Label_0435: {
            if (this$validTime == null) {
                if (other$validTime == null) {
                    break Label_0435;
                }
            }
            else if (this$validTime.equals(other$validTime)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$dayTime = this.getDayTime();
        final Object other$dayTime = other.getDayTime();
        Label_0472: {
            if (this$dayTime == null) {
                if (other$dayTime == null) {
                    break Label_0472;
                }
            }
            else if (this$dayTime.equals(other$dayTime)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0509: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0509;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0509;
            }
            return false;
        }
        final Object this$validTimeEnd = this.getValidTimeEnd();
        final Object other$validTimeEnd = other.getValidTimeEnd();
        Label_0546: {
            if (this$validTimeEnd == null) {
                if (other$validTimeEnd == null) {
                    break Label_0546;
                }
            }
            else if (this$validTimeEnd.equals(other$validTimeEnd)) {
                break Label_0546;
            }
            return false;
        }
        final Object this$validTimeStart = this.getValidTimeStart();
        final Object other$validTimeStart = other.getValidTimeStart();
        Label_0583: {
            if (this$validTimeStart == null) {
                if (other$validTimeStart == null) {
                    break Label_0583;
                }
            }
            else if (this$validTimeStart.equals(other$validTimeStart)) {
                break Label_0583;
            }
            return false;
        }
        final Object this$dayTimeStart = this.getDayTimeStart();
        final Object other$dayTimeStart = other.getDayTimeStart();
        Label_0620: {
            if (this$dayTimeStart == null) {
                if (other$dayTimeStart == null) {
                    break Label_0620;
                }
            }
            else if (this$dayTimeStart.equals(other$dayTimeStart)) {
                break Label_0620;
            }
            return false;
        }
        final Object this$dayTimeEnd = this.getDayTimeEnd();
        final Object other$dayTimeEnd = other.getDayTimeEnd();
        if (this$dayTimeEnd == null) {
            if (other$dayTimeEnd == null) {
                return true;
            }
        }
        else if (this$dayTimeEnd.equals(other$dayTimeEnd)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SystemStoreDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $isShow = this.getIsShow();
        result = result * 59 + (($isShow == null) ? 43 : $isShow.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $introduction = this.getIntroduction();
        result = result * 59 + (($introduction == null) ? 43 : $introduction.hashCode());
        final Object $phone = this.getPhone();
        result = result * 59 + (($phone == null) ? 43 : $phone.hashCode());
        final Object $address = this.getAddress();
        result = result * 59 + (($address == null) ? 43 : $address.hashCode());
        final Object $detailedAddress = this.getDetailedAddress();
        result = result * 59 + (($detailedAddress == null) ? 43 : $detailedAddress.hashCode());
        final Object $image = this.getImage();
        result = result * 59 + (($image == null) ? 43 : $image.hashCode());
        final Object $latitude = this.getLatitude();
        result = result * 59 + (($latitude == null) ? 43 : $latitude.hashCode());
        final Object $longitude = this.getLongitude();
        result = result * 59 + (($longitude == null) ? 43 : $longitude.hashCode());
        final Object $validTime = this.getValidTime();
        result = result * 59 + (($validTime == null) ? 43 : $validTime.hashCode());
        final Object $dayTime = this.getDayTime();
        result = result * 59 + (($dayTime == null) ? 43 : $dayTime.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $validTimeEnd = this.getValidTimeEnd();
        result = result * 59 + (($validTimeEnd == null) ? 43 : $validTimeEnd.hashCode());
        final Object $validTimeStart = this.getValidTimeStart();
        result = result * 59 + (($validTimeStart == null) ? 43 : $validTimeStart.hashCode());
        final Object $dayTimeStart = this.getDayTimeStart();
        result = result * 59 + (($dayTimeStart == null) ? 43 : $dayTimeStart.hashCode());
        final Object $dayTimeEnd = this.getDayTimeEnd();
        result = result * 59 + (($dayTimeEnd == null) ? 43 : $dayTimeEnd.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SystemStoreDto(id=" + this.getId() + ", name=" + this.getName() + ", introduction=" + this.getIntroduction() + ", phone=" + this.getPhone() + ", address=" + this.getAddress() + ", detailedAddress=" + this.getDetailedAddress() + ", image=" + this.getImage() + ", latitude=" + this.getLatitude() + ", longitude=" + this.getLongitude() + ", validTime=" + this.getValidTime() + ", dayTime=" + this.getDayTime() + ", createTime=" + this.getCreateTime() + ", isShow=" + this.getIsShow() + ", validTimeEnd=" + this.getValidTimeEnd() + ", validTimeStart=" + this.getValidTimeStart() + ", dayTimeStart=" + this.getDayTimeStart() + ", dayTimeEnd=" + this.getDayTimeEnd() + ")";
    }
}
